Interactive Web-Based Data Visualization with R, Plotly, and Shiny by Sievert Carson;
Author:Sievert, Carson;
Language: eng
Format: epub
Publisher: CRC Press LLC
Published: 2020-05-15T00:00:00+00:00
FIGURE 16.19: Engine displacement versus highway miles per gallon by class of car. The linear model for each class, as well as the individual observations, can be selected by hovering over the line of fitted values. An individual observation can also be selected by hovering over the relevant point. For a video demonstration of the interactive, see https://bit.ly/smooth-highlight. For the interactive, see https://plotly-r.com/interactives/smooth-highlight.html
Figure 16.19 demonstrates highlighting in a single view when the querying variable is the row index, but the linking could also be done by matching the querying variable with the ggplot2 group of interest, as is done in Figure 16.20. This way, when a user highlights an individual point, the entire group is highlighted (instead of just that one point).
m <- highlight_key(mpg, ~class)
p1 <- ggplot(m, aes(displ, fill = class)) + geom_density()
p2 <- ggplot(m, aes(displ, hwy, fill = class)) + geom_point()
subplot(p1, p2) %>% hide_legend() %>% highlight("plotly_hover")
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Biomathematics | Differential Equations |
Game Theory | Graph Theory |
Linear Programming | Probability & Statistics |
Statistics | Stochastic Modeling |
Vector Analysis |
Weapons of Math Destruction by Cathy O'Neil(5050)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(4033)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(2760)
Descartes' Error by Antonio Damasio(2746)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(2696)
TCP IP by Todd Lammle(2647)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2489)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2423)
The Book of Numbers by Peter Bentley(2413)
The Tyranny of Metrics by Jerry Z. Muller(2408)
The Great Unknown by Marcus du Sautoy(2195)
Once Upon an Algorithm by Martin Erwig(2153)
Easy Algebra Step-by-Step by Sandra Luna McCune(2127)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2100)
Lady Luck by Kristen Ashley(2082)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2041)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(1987)
All Things Reconsidered by Bill Thompson III(1965)
Secrets of Creation, Volume 1: The Mystery of the Prime Numbers by Watkins Matthew(1875)